package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ukaodev on 2017/9/20.
 */


public class ValetCountBean  extends   BaseBean<ValetCountBean> implements Parcelable {



        /**
         * takeReceivedCnt : 2
         * sendReceivedCnt : 1
         * sendReceiveCnt : 0
         * sendReceivedName : 未取-已收件数
         * takeReceiveName : 未取-已接单数
         * waitCnt : 0
         * waitName : 待接单数
         * sendReceiveName : 未送-已接单数
         * takeReceiveCnt : 0
         * takeReceivedName : 未交-已收件数
         */
        private   int  pushCnt;
        private int takeReceivedCnt;
        private int sendReceivedCnt;
        private int sendReceiveCnt;
        private String sendReceivedName;
        private String takeReceiveName;
        private int waitCnt;
        private String waitName;
        private String sendReceiveName;
        private int takeReceiveCnt;
        private String takeReceivedName;

    public int getPushCnt() {
        return pushCnt;
    }

    public int getTakeReceivedCnt() {
            return takeReceivedCnt;
        }

        public void setTakeReceivedCnt(int takeReceivedCnt) {
            this.takeReceivedCnt = takeReceivedCnt;
        }

        public int getSendReceivedCnt() {
            return sendReceivedCnt;
        }

        public void setSendReceivedCnt(int sendReceivedCnt) {
            this.sendReceivedCnt = sendReceivedCnt;
        }

        public int getSendReceiveCnt() {
            return sendReceiveCnt;
        }

        public void setSendReceiveCnt(int sendReceiveCnt) {
            this.sendReceiveCnt = sendReceiveCnt;
        }

        public String getSendReceivedName() {
            return sendReceivedName;
        }

        public void setSendReceivedName(String sendReceivedName) {
            this.sendReceivedName = sendReceivedName;
        }

        public String getTakeReceiveName() {
            return takeReceiveName;
        }

        public void setTakeReceiveName(String takeReceiveName) {
            this.takeReceiveName = takeReceiveName;
        }

        public int getWaitCnt() {
            return waitCnt;
        }

        public void setWaitCnt(int waitCnt) {
            this.waitCnt = waitCnt;
        }

        public String getWaitName() {
            return waitName;
        }

        public void setWaitName(String waitName) {
            this.waitName = waitName;
        }

        public String getSendReceiveName() {
            return sendReceiveName;
        }

        public void setSendReceiveName(String sendReceiveName) {
            this.sendReceiveName = sendReceiveName;
        }

        public int getTakeReceiveCnt() {
            return takeReceiveCnt;
        }

        public void setTakeReceiveCnt(int takeReceiveCnt) {
            this.takeReceiveCnt = takeReceiveCnt;
        }

        public String getTakeReceivedName() {
            return takeReceivedName;
        }

        public void setTakeReceivedName(String takeReceivedName) {
            this.takeReceivedName = takeReceivedName;
        }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.takeReceivedCnt);
        dest.writeInt(this.sendReceivedCnt);
        dest.writeInt(this.sendReceiveCnt);
        dest.writeString(this.sendReceivedName);
        dest.writeString(this.takeReceiveName);
        dest.writeInt(this.waitCnt);
        dest.writeString(this.waitName);
        dest.writeString(this.sendReceiveName);
        dest.writeInt(this.takeReceiveCnt);
        dest.writeString(this.takeReceivedName);
    }

    public ValetCountBean() {
    }

    protected ValetCountBean(Parcel in) {
        this.takeReceivedCnt = in.readInt();
        this.sendReceivedCnt = in.readInt();
        this.sendReceiveCnt = in.readInt();
        this.sendReceivedName = in.readString();
        this.takeReceiveName = in.readString();
        this.waitCnt = in.readInt();
        this.waitName = in.readString();
        this.sendReceiveName = in.readString();
        this.takeReceiveCnt = in.readInt();
        this.takeReceivedName = in.readString();
    }

    public static final Parcelable.Creator<ValetCountBean> CREATOR = new Parcelable.Creator<ValetCountBean>() {
        @Override
        public ValetCountBean createFromParcel(Parcel source) {
            return new ValetCountBean(source);
        }

        @Override
        public ValetCountBean[] newArray(int size) {
            return new ValetCountBean[size];
        }
    };

    @Override
    public String toString() {
        return "ValetCountBean{" +
                "pushCnt=" + pushCnt +
                ", takeReceivedCnt=" + takeReceivedCnt +
                ", sendReceivedCnt=" + sendReceivedCnt +
                ", sendReceiveCnt=" + sendReceiveCnt +
                ", sendReceivedName='" + sendReceivedName + '\'' +
                ", takeReceiveName='" + takeReceiveName + '\'' +
                ", waitCnt=" + waitCnt +
                ", waitName='" + waitName + '\'' +
                ", sendReceiveName='" + sendReceiveName + '\'' +
                ", takeReceiveCnt=" + takeReceiveCnt +
                ", takeReceivedName='" + takeReceivedName + '\'' +
                '}';
    }
}
